package com.example.busbus.service;



import com.example.busbus.entity.BusLine;

import java.util.List;

public interface BusLineService {
    List<BusLine> getAllBusLines();
    BusLine getBusLineById(Long id);
    void addBusLine(BusLine busLine);
    void updateBusLine(BusLine busLine);
    void deleteBusLine(Long id);
    List<BusLine> searchByName(String name);
    List<BusLine> searchByLineNumber(String lineNumber);
}